package com.sky.quartz.task;

import org.springframework.stereotype.Component;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Component
public class MyTask {

    public void shouTime(){
        System.out.println("定时任务开始执行"+LocalDateTime.now());

    }
}
